<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>数组交换</title>
		<script type="text/javascript">
			var arr = ['a','b','c']
			var arrNew = [];
			for(var i = arr.length - 1; i >= 0; i--) {
				arrNew[arrNew.length] = arr[i]
			}
			console.log(arrNew)
		</script>
	</head>
	<body>
	</body>
</html>
